package com.mycompany.myapp.repository;

import com.mycompany.myapp.domain.Stewarder;
import org.springframework.data.jpa.repository.*;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * Spring Data  repository for the Stewarder entity.
 */
@SuppressWarnings("unused")
@Repository
public interface StewarderRepository extends JpaRepository<Stewarder, Long> {


    Stewarder findStewardByStewarderID(String stewarderID);

    List<Stewarder> findAllByStewardState(String stewarderState);

}
